
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[PerferencesGet]
    @UserId INT ,
    @Name VARBINARY(MAX)
AS 
    BEGIN
        SELECT  Value
        FROM    Perferences
        WHERE   Name = @Name
                AND UserId = @UserId
    END
GO
